/*
 * note.c
 * Project 4
 * Nicole Ang (nang1@asu.edu)
 * Bijan Fakhri (bfakhri@asu.edu)
 * CSE 325: Embedded Microprocessor Systems
 * Spring 2013
 */

#include "all_includes.h"

Note createNote(Pitch newPitch, NoteDur newType){
	Note newNote;
	newNote.pitch = newPitch;
	newNote.dur = newType;
	return newNote;
}

void set_note(Note note){
	set_frequency(note.pitch);
	setDuration(note.dur, quarterNoteTime);
}